package com.zh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.pojo.domain.DriverAuthMaterial;
import com.zh.pojo.dto.AuditParamDto;
import com.zh.pojo.dto.DriverAuthDto;
import com.zh.pojo.vo.DriverAuthVo;

/**
 * <p>
 * 司机实名资料 服务类
 * </p>
 *
 * @author 初四
 * @since 2024-06-13
 */
public interface IDriverAuthMaterialService extends IService<DriverAuthMaterial> {

    /**
     * 审核实名认证接口
     * @param auditParamDto
     */
    void audit(AuditParamDto auditParamDto);
    /**
     * 实名认证申请接口
     * @param driverAuthDto 实名认证申请材料
     */
    void realAuthApply(DriverAuthDto driverAuthDto);

    /**
     * 撤销实名认证接口
     * @param auditParamDto
     */
    void revoke(AuditParamDto auditParamDto);

    /**
     * 加载司机实名信息
     * @return
     */
    DriverAuthVo selectByDriverAuthMaterial();
}
